Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[env] add project filter to ls command #382

Merged
merged 4 commits into from
Sep 10, 2024
Merged

Conversation

dschaller
Copy link
Member

$ esc env ls -p {project}

@@ -56,11 +59,13 @@ func newEnvLsCmd(env *envCommand) *cobra.Command {

cmd.PersistentFlags().StringVarP(
&orgFilter, "organization", "o", "", "Filter returned stacks to those in a specific organization")
cmd.PersistentFlags().StringVarP(
&projectFilter, "project", "p", "", "Filter returned stacks to those in a specific project")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is just copy from the line above, but this really should be environments instead of stacks right? (it's probably copypasta from pulumi/pulumi)

@dschaller dschaller merged commit 2dbf049 into feature/projects Sep 10, 2024
6 checks passed
@dschaller dschaller deleted the projects/lsfilter branch September 10, 2024 20:14
seanyeh pushed a commit that referenced this pull request Sep 10, 2024
* [env] add project filter to ls command

* update changelog with PR #

* resolve merge issues

* s/stacks/environments/
seanyeh pushed a commit that referenced this pull request Sep 10, 2024
* [env] add project filter to ls command

* update changelog with PR #

* resolve merge issues

* s/stacks/environments/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants